home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Source / GNU / libg++ / libio / configure.in < prev    next >
Text File  |  1994-02-15  |  1KB  |  46 lines

  1. # This file is a shell script fragment that supplies the information
  2. # necessary for a configure script to process the program in
  3. # this directory.  For more information, look at ../configure.
  4.  
  5. configdirs="tests dbz stdio"
  6. srctrigger=libioP.h
  7. srcname="input/output library"
  8. package_makefile_frag=Make.pack
  9.  
  10. # per-host:
  11.  
  12. # per-target:
  13.  
  14. case "${target}" in
  15.   *-*-hpux*)       my_target=hpux ;;
  16.   *-*-sco3.2v4*)   my_target=sco4 ;;
  17.   *-*-isc*)        my_target=isc ;;
  18.   *-*-*)           my_target=${target_cpu}
  19. esac
  20.  
  21. if [ -f ${srcdir}/config/${my_target}.mt ] ; then
  22.   target_makefile_frag=config/${my_target}.mt
  23. fi
  24.  
  25. TO_TOPDIR=../
  26. ALL='_G_config.h libio.a libiostream.a $(OSPRIM_OBJECTS)'
  27. CINCLUDES='-I. -I$(srcdir)'
  28. CXXINCLUDES='-I. -I$(srcdir)'
  29. MOSTLYCLEAN='*.o core iostream.list'
  30. CLEAN='_G_config.h *.a'
  31. INFO_FILES=iostream
  32. (. ${srcdir}/config.shared) >${package_makefile_frag}
  33.  
  34. # post-target:
  35.  
  36. # If cross-compiling, don't build gperf or the utils.  They
  37. # will get built by the target compiler, which is confusing.
  38. # We cannot test the installation.  We install in $(tooldir).
  39. if [ ${host} != ${target} ] ; then
  40.     sed \
  41.     -e 's|INSTALLDIR.*=.*$|INSTALLDIR = $(tooldir)/lib|' \
  42.     Makefile >Makefile.tem
  43.     mv -f Makefile.tem Makefile
  44. fi
  45.  
  46.